
using WooEngine.ConfigWork;
using WooEngine.ConfigWork.Table;
using WooEngine.Utility.Security.Base;

/**
* %SheetName%
**/
public class %ClassProtoName% : ProtoTable<%ClassName%>
{
    public static %ClassProtoName% Instance
    {
        get
        {
            if (instance == null)
            {
                instance = new %ClassProtoName%();
            }
            return instance;
        }
    }
    private static %ClassProtoName% instance;

    public override void LoadData()
    {
        initWithData(ConfigManager.Instance.GetConfigFileData(%ClassName%.CLASS_NAME));
    }
}

public class %ClassName% : ProtoDataBase
{
    public static string CLASS_NAME = "%dataName%";

    %param%

    protected override void initData(JSONObject[] data)
    {
        %p=f%
    }

    %function%
}
